package com.foreveross.fetl.vo;

import java.io.Serializable;

import com.foreveross.fetl.core.domain.task.FlightInfoEntity;

public class FlightInfoVO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7293059924770281023L;

	private String id;

	private String fromCity;

	private String fromCityName;

	private String toCity;

	private String toCityName;

	private String flightNo;

	private String areaName;

	private String areaCode;

	private String companyCode;

	private String companyName;

	private String startTime;

	private String endTime;

	private String grabChannel;

	public FlightInfoVO(){}
	
	public FlightInfoVO(FlightInfoEntity entity){
		this.id = entity.getId();
		this.areaCode = entity.getAreaCode();
		this.areaName = entity.getAreaName();
		this.companyCode = entity.getCompanyCode();
		this.companyName = entity.getCompanyName();
		this.endTime = entity.getEndTime();
		this.flightNo = entity.getFlightNo();
		this.fromCity = entity.getFromCity();
		this.fromCityName = entity.getFromCityName();
		this.grabChannel = entity.getGrabChannel();
		this.startTime = entity.getStartTime();
		this.toCity = entity.getToCity();
		this.toCityName = entity.getToCityName();
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFromCity() {
		return fromCity;
	}

	public void setFromCity(String fromCity) {
		this.fromCity = fromCity;
	}

	public String getFromCityName() {
		return fromCityName;
	}

	public void setFromCityName(String fromCityName) {
		this.fromCityName = fromCityName;
	}

	public String getToCity() {
		return toCity;
	}

	public void setToCity(String toCity) {
		this.toCity = toCity;
	}

	public String getToCityName() {
		return toCityName;
	}

	public void setToCityName(String toCityName) {
		this.toCityName = toCityName;
	}

	public String getFlightNo() {
		return flightNo;
	}

	public void setFlightNo(String flightNo) {
		this.flightNo = flightNo;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getGrabChannel() {
		return grabChannel;
	}

	public void setGrabChannel(String grabChannel) {
		this.grabChannel = grabChannel;
	}
}
